<!DOCTYPE html>
<html>

<head>
    <title>后台</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="<?=HW_CSS?>style.css">
    <link rel="stylesheet" href="<?=HW_CSS?>bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?=HW_CSS?>dataTables.bootstrap.css">
    <link rel="stylesheet" href="<?=HW_CSS?>base.css">
    <link rel="stylesheet" type="text/css" href="<?=HW_CSS?>table_list.css">
</head>

<body>
    
        <!-- toolbar_container -->
        <div id="toolbar_container">
            <div class="tb_item">
                <a href="<?=base_url().'AuthManager/Auth/addAuth'?>" class="new_iframe">新增</a>
            </div>
            <!-- <div class="tb_item">
                <button type="button" id='frezee' url="<?=base_url().'AuthManager/Auth/freeze'?>" >冻结</button>
            </div>
            <div class="tb_item">
                <button type="button" id='fraw' url="<?=base_url().'AuthManager/Auth/fraw'?>">解冻</button>
            </div> -->
            <div class="tb_item">
                <a  href="<?=base_url().'AuthManager/Auth/index'?>">刷新</a>
            </div>
           
        </div>
        <form method="POST" action="" class="main_form">
        <div class="box-body table-responsive">
            <table id="example" class="table table-hover table-bordered">
                <thead>
                    <tr>
                        <th class="three"><label><input type="checkbox" id="check-all" class="checkAll">全选</label></th>
                        <th class="three">序号</th>
                        <th class="five">权限组名</th>
                        <th class="five">状态</th>
                        <th class="twelve">创建时间</th>
                    </tr>
                </thead>
                <tbody>
                    <?php if(isset($list)){foreach($list as $k=>$val): ?>
                        <tr>
                            <td><input type="checkbox" class="checkOne" name="ids[]" value="<?=$val['id']?>"></td>
                            <td><?=$k+1?></td>
                            <td><a href="<?=base_url().'AuthManager/Auth/addAuth/'.$val['id']?>" class="new_iframe"><?=$val['name']?></a></td>
                            <td><?=$val['status']==1?'正常':'冻结'?></td>
                            <td><?=$val['create_time']?></td>
                        </tr>
                    <?php endforeach; }?>
                    
                </tbody>
            </table>
</body>
<script type="text/javascript" src="<?=HW_STA?>lib/require.js" data-main="<?=HW_STA?>module/setting/setting.js"></script>
</html>